<div id="comment_page">
<div class="vd_clear vd_say  ">
	<p><span class="mainColor vd_weight vd_font">评论</span>&nbsp;<input type="button" value="表情 &gt" class="vd_btt" onclick="openFaceDialog('tangleArea')"/></p>
	<form name="commentaryForm" id="commentaryForm" action="${base}/user/communication/comment!save" method="post">
		<div  class="vd_area">
			<textarea id="tangleArea" name="commentary.content" style="overflow:hidden"></textarea>
			<input type="hidden" value="${(id?c)!}" name="commentary.application.id"/>
		</div>
		<div style="float:left">
			<span class="vd_font12 mainColor">150</span>
			<p style="margin-top:55px"> <input type="button" value="发表"  class="vd_btt" onclick="ajaxComment('${(id?c)!}','tangleArea','comment_list')"/></p>
		</div>
	</form>
</div>
		<#--<div class="vd_clear vd_txt" style="margin-left:15px">按Ctrl+Enter发送消息 </div>-->
<div class="vd_list" id="comment_list">
	<#if commentaryPage?exists>
	<#--
	<#list commentaryPage.result as comment>
	<span>${(comment.pubTime)!}  ${(comment.publisher.name)!} </span> <span style="text-align:right; border:1px solid #ff0198; background-color:#e7e5ea; font-weight:bold; color:#ff0198; margin-top:10px"><a href="${base}/user/communication/reply?id=${(comment.id?c)!}">回复</a></span>      </br>
	<p>
		${(comment.content)!}
	</p>
	</br>
	</#list>
	-->
	<#list commentaryPage.result as comment>
	<div  class="vd_sbox vd_clear">
		<div class="vd_boxl">
			<div class="vd_boxme">
				<div class="vd_txt vd_color6 vd_box_de" >${(comment.content)!}</div>
				<p class="vd_txt" style=" text-align:right">${(comment.pubTime)!}<br /></p>
			</div>
			<p  class="vd_clear" style="text-align:right"><input type="button" value="回复"  class="vd_btt" onclick="openReply('comment${(comment.id?c)!}')"/></p>
		</div>
		<div class="vd_boxr" >
			<div class="vd_img"><a href="#" hidefocus ><img src="${statics}/${(comment.publisher.user.head.fullPath)!'userfiles/image/pp.jpg'}" /></a></div>
			<div class="vd_p">
				<p class="vd_font vd_weight vd_color9 vd_no">V${(comment.publisher.level)!}</p>
				<p class="vd_lp" style="margin-top:20px"><img src="${base}/images/bg.jpg"  /></p>
			</div>
			<p class="vd_font vd_clear "><a href="${base}/site/user/?id=${(comment.publisher.user.id?c)!}" hidefocus class="vd_weight mainColor" >${(comment.publisher.name)!}</a></p>
		</div>
	</div>
	
	<div class="vd_clear vd_say " style="display:none" id="comment${(comment.id?c)!}">
		<p><span class="mainColor vd_weight vd_font">回复</span>&nbsp;<input type="button" value="表情 &gt" class="vd_btt" onclick="openFaceDialog('tangleArea${(comment.id?c)!}')"/></p>
		<form name="replyForm" id="replyForm${(comment.id?c)!}" action="${base}/user/communication/reply!save" method="post">
			<div  class="vd_area">
				<textarea id="tangleArea${(comment.id?c)!}" name="reply.content" style="overflow:hidden"></textarea>
				<input type="hidden" value="${(comment.id?c)!}" name="reply.application.id"/>
			</div>
			<div style="float:left">
				<span class="vd_font12 mainColor">150</span>
				<p style="margin-top:55px"> <input type="button" value="发表"  class="vd_btt" onclick="ajaxReply('${(comment.id?c)!}','tangleArea${(comment.id?c)!}','reply_list_${(comment.id?c)!}')"/></p>
			</div>
		</form>
	</div>
	
	
	<div  class="vd_sbox vd_clear" id="reply_list_${(comment.id?c)!}">
		<#list comment.replyList as reply>
		<div class="vd_boxl">
			<div class="vd_boxme">
				<div class="vd_txt vd_color6 vd_box_de" >${(reply.content)!}</div>
				<p class="vd_txt" style=" text-align:right">${(reply.pubTime)!}<br /></p>
			</div>
		</div>
		</#list>
	</div>
	
	</#list>
	</#if>
	<#--<@realgodo.pagination div="comment_list" />-->
	<div class="vd_clear" style="text-align:right">
		<a href="#"><img src="images/topman.gif" /></a>
	</div>
</div>
</div>
<#--
<div  class="vd_sbox vd_clear ">
	<div class="vd_boxl">
		<div class="vd_boxme">
			<div class="vd_txt vd_color6 vd_box_de in_lineheight" >在我眼里的最上乘的女人，只有奥黛丽赫本~~~~~</div>
			<p class="vd_txt" style=" text-align:right">2009-12-13 17:22<br /></p>
		</div>
		<p  class="vd_clear" style="text-align:right"><input type="button" value="回复"  class="vd_btt" /></p>
	</div>
	<div class="vd_boxr" >
		<div class="vd_img"><a href="#" hidefocus ><img src="images/pp.jpg" /></a></div>
		<div class="vd_p">
			<p class="vd_font vd_weight vd_color9 vd_no">V9</p>
			<p class="vd_lp" style="margin-top:20px"><img src="images/bg.jpg"  /></p>
		</div>
		<p class="vd_font vd_clear "><a href="#" hidefocus class="vd_weight mainColor" >马跃</a></p>
	</div>
</div>
-->
